package com.houtai.bean.dto.course;

import com.houtai.base.Page;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotNull;

@ApiModel(value="在线课程列表所需参数", description="在线课程列表所需参数")
public class TdCourseListDto  extends Page {
    @NotNull(message = "类型id不能为空")
    @ApiModelProperty(value="类型id(0所有)", name="type_id")
    private int type_id;

    @NotNull(message = "标题不能为空")
    @ApiModelProperty(value="标题 可为空字符串", name="course_title")
    private String course_title;

    public int getType_id() {
        return type_id;
    }

    public void setType_id(int type_id) {
        this.type_id = type_id;
    }

    public String getCourse_title() {
        return course_title;
    }

    public void setCourse_title(String course_title) {
        this.course_title = course_title;
    }
}
